import { baseService, baseURL } from "./axios.js";

// 首页数据
export const indexGetDataApi = (data) => {
  const api = `${baseURL}/api/index/getData`;
  return baseService.post(api, data);
};
// 设计团队分类
export const designClassApi = (data) => {
  const api = `${baseURL}/api/design/getClass`;
  return baseService.post(api, data);
};

// 设计团队
export const designIndexApi = (data) => {
  const api = `${baseURL}/api/design/index`;
  return baseService.post(api, data);
};

// 设计师详情

export const designDetailsApi = (data) => {
  const api = `${baseURL}/api/design/getDetails`;
  return baseService.post(api, data);
};

// 项目列表
export const casesIndexApi = (data) => {
  const api = `${baseURL}/api/cases/index`;
  return baseService.post(api, data);
};

// 项目分类
export const casesClassApi = (data) => {
  const api = `${baseURL}/api/cases/getClass`;
  return baseService.post(api, data);
};

// 案例详情
export const casesDetailsApi = (data) => {
  const api = `${baseURL}/api/cases/getDetails`;
  return baseService.post(api, data);
};


